public class Demo2 extends Test2{
    String name="Jack";
    Demo2(){
        super();
        System.out.println("Demo2");
    }
    Demo2(String s){
        super(s);
    }
    public void test(){
        System.out.println(super.name);
        System.out.println(this.name);
        System.out.println("__");
    }
    public static void main(String[] args){
        new Demo2().test();
        new Demo2("john").test();
    }
}
